var bind_click_queryServer = function(){
    var b = e("#queryServerTime")
    b.addEventListener('click', function(event){
        
        domain = e("#id-domian-query").value
        path = '/server/check_time?domain=' + domain
        ajax('get', path, '', function(response){
            log(response)
        })
    })
}

var bind_click_checkTime = function(){
    var b = e("#checkServerTime")
    b.addEventListener('click', function(event){
        
        domain = e("#id-domian-query").value
        path = '/server/check_time/real_time?domain=' + domain
        ajax('get', path, '', function(response){
            log(response)
        })
    })
}

var _bind_Events = function() {
    bind_click_queryServer()
    bind_click_checkTime()
}

_bind_Events()